package com.jali.crud.dao;

import com.jali.crud.bean.JaTaskItem;
import com.jali.crud.bean.JaTaskItemExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface JaTaskItemMapper {
    long countByExample(JaTaskItemExample example);

    int deleteByExample(JaTaskItemExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(JaTaskItem record);

    int insertSelective(JaTaskItem record);

    List<JaTaskItem> selectByExample(JaTaskItemExample example);

    JaTaskItem selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") JaTaskItem record, @Param("example") JaTaskItemExample example);

    int updateByExample(@Param("record") JaTaskItem record, @Param("example") JaTaskItemExample example);

    int updateByPrimaryKeySelective(JaTaskItem record);

    int updateByPrimaryKey(JaTaskItem record);

    List<JaTaskItem> selectTaskItems(JaTaskItemExample example);

    public List<JaTaskItem> getTaskItemsByParentId(int parentId);

    void updateUseTime(JaTaskItem jaTaskItem);

    int selectUnfinishCount(int parentid);

}